package com.epam.edu.task04.Parking;

public class ParkingPlace {
	private int placeId;

	public ParkingPlace(int placeId) {
		super();
		this.placeId = placeId;
	}

	public int getPlaceId() {
		return placeId;
	}

	public void setPlaceId(int placeId) {
		this.placeId = placeId;
	}

	public void using() {
		try {
			// использование места
			Thread.sleep(new java.util.Random().nextInt(1000));
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}
}
